package com.hjx.movie.persistence.system.model;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * (IvyMovie)实体类
 *
 * @author makejava
 * @since 2020-12-22 14:41:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class IvyMovie implements Serializable {
    private static final long serialVersionUID = 436062689812401557L;
    @TableId
    private Long movieId;
    
    private String movieName;
    //演员
    private String actor;
    //电影摘要
    private String abs;
    //电影地区
    private String area;
    //导演
    private String director;
    //电影描述
    private String movieInfo;
    //语言
    private String language;
    //照片路径
    private String imgPath;
    //照片路径
    private String picture;
    //评分
    private Double rate;
    //上映时间
    private Date showTime;
    //电影时长
    private Integer time;
    //票房
    private BigDecimal totalMoney;
    //类型
    private String type;
    //视频存储路径
    private String video;
    //状态
    private Boolean status;
    //评价人数
    private Integer rateCount;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
